﻿using FCP.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FCP.Api.Models
{
    public class FCPTreeConfigModel
    {
        public t_form Form { get; set; }


        public TreeConfigModel Tree { get; set; }
    }
    public class TreeConfigModel
    {
        public TreeConfigModel()
        {
            this.Btns = new List<TreeBtnConfigModel>();
            this.Fields = new List<TreeFieldConfigModel>();
        }
        public t_tree Tree { get; set; }

        public List<TreeBtnConfigModel> Btns { get; set; }

        public List<TreeFieldConfigModel> Fields { get; set; }
    }

    public class TreeFieldConfigModel
    {
        public t_tree_field Field { get; set; }
    }

    public class TreeBtnConfigModel
    {
        public t_tree_btn Btn { get; set; }
    }

}
